package com.htc.android.footprints.commonui;

import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.drawable.Drawable;

public class TBarGroupDrawable extends TBarDrawable
{
  public static Drawable mBoard;
  public static Drawable mSelectedBoard;

  public TBarGroupDrawable()
  {
    super(null, false);
    setBounds(mBoard.copyBounds());
  }

  public void draw(Canvas paramCanvas)
  {
    paramCanvas.save();
    if (this.mSelected)
      mSelectedBoard.getCurrent().draw(paramCanvas);
    while (true)
    {
      paramCanvas.restore();
      return;
      mBoard.getCurrent().draw(paramCanvas);
    }
  }

  public int getOpacity()
  {
    return mBoard.getOpacity();
  }

  public void setAlpha(int paramInt)
  {
    mSelectedBoard.setAlpha(paramInt);
    mBoard.setAlpha(paramInt);
  }

  public void setColorFilter(ColorFilter paramColorFilter)
  {
    mBoard.setColorFilter(paramColorFilter);
    mSelectedBoard.setColorFilter(paramColorFilter);
  }
}

/* Location:           E:\workspace\dex2java\dex-translator-0.0.9.3\HtcFootprints_dex2jar.jar
 * Qualified Name:     com.htc.android.footprints.commonui.TBarGroupDrawable
 * JD-Core Version:    0.6.0
 */